<!--<?php
print <<<EOT
-->

        <tr>
          <td background="./images/colour/jf_colour_gold_100.gif" width="1"><img src="./images/spacer.gif" width="1" height="1" alt=""></td>
          <td bgcolor="FFFFFF" width="10"><img src="./images/spacer.gif" width="10" height="1" alt=""></td>
          <td bgcolor="FFFFFF" width="720" align="left" valign="top"><div><img name="" src="./images/spacer.gif" width="720" height="10" alt=""></div>
            <table width="720" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" background="./images/nav/jf_nav_main_bkgd.gif" align="left" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><a href="index.php"><img src="./images/nav/jf_nav_logo.gif" width="150" height="210" alt="jans2en furniture" border="0"></a></td>
                    </tr>

<!--
EOT;
foreach ($LEFT_MENU_ARY as $k=>$v) { 
    if ($menu_id == $k) { 
print <<<EOT
-->
					<tr>
                      <td><a href="{$v['url']}"><img src="./images/nav/{$v['pic']}-active.gif" alt="{$v['name']}" name="jf_nav_menu_$k" width="150" height="20" id="jf_nav_menu_$k" border="0"></a></td>
                    </tr>


<!--
EOT;
	} else {
print <<<EOT
--> 

					<tr>
                      <td><a href="{$v['url']}" onMouseOver="MM_swapImage('jf_nav_menu_$k','','./images/nav/{$v['pic']}-over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="./images/nav/{$v['pic']}.gif" alt="{$v['name']}" name="jf_nav_menu_$k" width="150" height="20" id="jf_nav_menu_$k" border="0"></a></td>
                    </tr>

<!--
EOT;
	}
} 
print <<<EOT
--> 

                  </table></td>
                <td background="./images/colour/jf_colour_navy_100.gif" width="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
                <td width="568" align="left" valign="top" background="./images/colour/jf_colour_navy_07.gif"><table width="568" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td background="./images/colour/jf_colour_navy_100.gif" height="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
                    </tr>
                    <tr>
                      <td bgcolor="FFFFFF" align="left" valign="middle" class="breadcrumb" height="14">&nbsp;<a href='index.php'>Home</a>&gt;<span class='breadcrumbActive'>Login</span> </td>
                    </tr>
                  </table>
                  <div><img src="./images/section_header/jf_section_header_dealers.jpg" alt="Dealer Login" name="jf_section_header_placer" width="568" height="95" id="jf_section_header_placer"></div>
                  <div><img name="" src="./images/spacer.gif" width="568" height="4" alt=""></div>
                  <div><img name="" src="./images/spacer.gif" width="568" height="4" alt=""></div>
                  
                  <div><img name="" src="./images/spacer.gif" width="568" height="4" alt=""></div>
                  <table width="568" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="5"><img name="" src="./images/spacer.gif" width="5" height="5" alt=""></td>
                      <td bgcolor="FFFFFF" width="10"><img name="" src="./images/spacer.gif" width="10" height="10" alt=""></td>
                      <td bgcolor="FFFFFF" width="538"><img name="" src="./images/spacer.gif" width="538" height="10" alt=""></td>
                      <td bgcolor="FFFFFF" width="10"><img name="" src="./images/spacer.gif" width="10" height="10" alt=""></td>
                      <td width="1" align="left" valign="top" background="./images/colour/jf_colour_navy_15.gif"><img name="" src="./images/colour/jf_colour_navy_07.gif" width="1" height="1" alt=""></td>
                      <td width="4"><img name="" src="./images/spacer.gif" width="4" height="4" alt=""></td>
                    </tr>
                    <tr>
                      <td width="5"><img name="" src="./images/spacer.gif" width="5" height="5" alt=""></td>
                      <td bgcolor="FFFFFF" width="10"><img name="" src="./images/spacer.gif" width="10" height="245" alt=""></td>
                      <td bgcolor="FFFFFF" width="538" class="text" align="left" valign="top">
                        <table width="538" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td rowspan="2" width="150" align="left" valign="top"><img src="./images/content_images/jf_content_images_login.jpg" alt="Image of woman and desk" name="jf_content_images_login" width="148" class="picture" id="jf_content_images_login"></td>
                            <td rowspan="2" width="5"><img name="" src="./images/spacer.gif" width="5" height="5" alt=""></td>
                            <td width="383" align="left" valign="top">

<!--
EOT;
if ($register_is_ok) {
print <<<EOT
--> 

                            <div>
                            Thank you for filling out the form.<br>
                            We will contact you as soon as possible.
                            </div>

<!--
EOT;
} else {
print <<<EOT
--> 
                           
                            <form method="post" name="form1" action="register.php" onSubmit="return CheckDealerInquiryForm(this);">
		                    <table width="100%">
		                        <tr><td colspan=2><span id="msg_area"></span></td></tr>
		                        <tr>
		                            <td align="left" colspan=2><div class="titles">Request to become a Jans2en Furniture Dealer: </div></td>
		                        </tr>
		                        <tr><td colspan=2 bgcolor="#000000" height=1></td></tr>
		                        <tr>
		                            <td align="left" colspan=2>Complete the following in full if you are not currently registered with jans2en furniture. We will contact you shortly. </td>
		                        </tr>
		                        <tr><td colspan=2  height=5></td></tr>
		                        
		                        
		                        <tr>
		                            <td align="right">Company:</td>
		                            <td align="left"><input type="text" name="dealerinquirycompany" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">First Name:</td>
		                            <td align="left"><input type="text" name="dealerinquiryfirstname" class="form" size="30"></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Last Name:</td>
		                            <td align="left"><input type="text" name="dealerinquirylastname" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Business Type:</td>
		                            <td align="left">
		                            <select name="dealerinquirybusinesstype" class="form">
									  <option value="" selected>---Please Select---</option>
									  <option value="Importer">Importer</option>
									  <option value="Wholesaler">Wholesaler</option>
									  <option value="Retailer">Retailer</option>
									  <option value="Designer">Designer</option>
									  <option value="others">Others</option>
									</select>
		                            </td>
		                        </tr>
		                        <tr>
		                            <td align="right">Years In Business:</td>
		                            <td align="left"><input type="text" name="dealerinquiryyearsinbusiness" class="form" size="30"></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Address:</td>
		                            <td align="left"><input type="text" name="dealerinquiryaddress" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Address 2:</td>
		                            <td align="left"><input type="text" name="dealerinquiryaddress2" class="form" size="30"></td>
		                        </tr>
		                        <tr>
		                            <td align="right">City:</td>
		                            <td align="left"><input type="text" name="dealerinquirycity" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">State/Province:</td>
		                            <td align="left">
		                            <select name="stateid" class="form">
		                              <option value="" selected>---Please Select---</option>
		                              $state_select
		                            </select>
		                          </td>
		                        </tr>
		                        <tr>
		                            <td align="right">Country:</td>
		                            <td align="left">
		                            <select name="countryid" class="form">
		                              <option value="" selected>---Please Select---</option>
		                              $country_select	
		                            </select> <span class="form_red">*</span>
		                            </td>
		                        </tr>
		                        <tr>
		                            <td align="right">Zip/Postal Code:</td>
		                            <td align="left"><input type="text" name="dealerinquirypostal" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Phone:</td>
		                            <td align="left"><input type="text" name="dealerinquiryphone" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Fax:</td>
		                            <td align="left"><input type="text" name="dealerinquiryfax" class="form" size="30"></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Email:</td>
		                            <td align="left"><input type="text" name="dealerinquiryemail" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Tax / business number:</td>
		                            <td align="left"><input type="text" name="dealerinquiryregistrationnumber" class="form" size="30"> <span class="form_red">*</span></td>
		                        </tr>
		                        <tr>
		                            <td align="right">URL:</td>
		                            <td align="left"><input type="text" name="dealerinquiryurl" class="form" size="30"></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Where did you find us:</td>
		                            <td align="left"><textarea class="form" name="find_us_content" cols="66" rows="4"></textarea></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Comments:</td>
		                            <td align="left"><textarea class="form" name="comments" cols="66" rows="4"></textarea></td>
		                        </tr>
		                        <tr>
		                            <td align="right">Info about your company:</td>
		                            <td align="left"><textarea class="form" name="company_content" cols="66" rows="5"></textarea></td>
		                        </tr>
		                        <tr>
		                            <td align="right" colspan=2>
		                                <input type="hidden" name="act" value="register">
		                                <input id="jf_button_send" type="image" src="./images/button/jf_button_send.gif" width="90" height=20 onclick="form1.submit"  onmouseover="this.src='./images/button/jf_button_send-over.gif'" onmouseout="this.src='./images/button/jf_button_send.gif'">&nbsp;
		                            </td>
		                        </tr>                        
		                    </table>
		                    </form>

<!--
EOT;
}
print <<<EOT
-->  
		                        
                            </td>
                          </tr>
                          <tr>
                            <td align="right" valign="bottom"><div class="paragraphSpacer"><img name="" src="./images/spacer.gif" width="0" height="0" alt=""></div>
                              <div align="right"><img src="./images/colour/jf_colour_gold_100.gif" alt="Gold Accent" name="jf_colour_gold_100" width="10" height="10" id="jf_colour_gold_100"></div></td>
                          </tr>
                        </table></td>
                      <td bgcolor="FFFFFF" width="10"><img name="" src="./images/spacer.gif" width="10" height="245" alt=""></td>
                      <td width="1" align="left" valign="top" background="./images/colour/jf_colour_navy_15.gif"><img name="" src="./images/colour/jf_colour_navy_07.gif" width="1" height="1" alt=""></td>
                      <td width="4"><img name="" src="./images/spacer.gif" width="4" height="4" alt=""></td>
                    </tr>
                    <tr>
                      <td width="5"><img name="" src="./images/spacer.gif" width="5" height="5" alt=""></td>
                      <td bgcolor="FFFFFF" width="10"><img name="" src="./images/spacer.gif" width="10" height="10" alt=""></td>
                      <td bgcolor="FFFFFF" width="538"><img name="" src="./images/spacer.gif" width="538" height="10" alt=""></td>
                      <td bgcolor="FFFFFF" width="10"><img name="" src="./images/spacer.gif" width="10" height="10" alt=""></td>
                      <td width="1" align="left" valign="top" background="./images/colour/jf_colour_navy_15.gif"><img name="" src="./images/colour/jf_colour_navy_07.gif" width="1" height="1" alt=""></td>
                      <td width="4"><img name="" src="./images/spacer.gif" width="4" height="4" alt=""></td>
                    </tr>
                    <tr>
                      <td width="5"><img name="" src="./images/spacer.gif" width="5" height="1" alt=""></td>
                      <td width="10" align="left" valign="top" background="./images/colour/jf_colour_navy_15.gif"><img name="" src="./images/colour/jf_colour_navy_07.gif" width="1" height="1" alt=""></td>
                      <td background="./images/colour/jf_colour_navy_15.gif" width="538"><img name="" src="./images/spacer.gif" width="538" height="1" alt=""></td>
                      <td background="./images/colour/jf_colour_navy_15.gif" width="10"><img name="" src="./images/spacer.gif" width="10" height="1" alt=""></td>
                      <td width="1" align="left" valign="top" background="./images/colour/jf_colour_navy_15.gif"><img name="" src="./images/colour/jf_colour_navy_15.gif" width="1" height="1" alt=""></td>
                      <td width="4"><img name="" src="./images/spacer.gif" width="4" height="1" alt=""></td>
                    </tr>
                  </table>
                  <div><img name="" src="./images/spacer.gif" width="568" height="4" alt=""></div>
                  
                  <div><img name="" src="./images/spacer.gif" width="10" height="2" alt=""></div></td>
                <td background="./images/colour/jf_colour_navy_100.gif" width="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
              </tr>
              <tr>
                <td background="./images/nav/jf_nav_main_bkgd.gif" wid><img name="" src="./images/spacer.gif" width="150" height="20" alt=""></td>
                <td background="./images/colour/jf_colour_navy_100.gif" width="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
                <td><table width="568" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td background="./images/colour/jf_colour_navy_100.gif" height="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
                      <td background="./images/colour/jf_colour_navy_100.gif" height="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
                    </tr>
                    <tr>
                      <td align="left" valign="middle" height="18"></td>
                      <td align="right" valign="middle" height="18"><a href="#top" onMouseOver="MM_swapImage('jf_button_back_to_top','','./images/button/jf_button_back_to_top-over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="./images/button/jf_button_back_to_top.gif" alt="Back to top" name="jf_button_back_to_top" width="70" height="13" border="0" id="jf_button_back_to_top"></a></td>
                    </tr>
                    <tr>
                      <td background="./images/colour/jf_colour_navy_100.gif" height="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
                      <td background="./images/colour/jf_colour_navy_100.gif" height="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
                    </tr>
                  </table></td>
                <td background="./images/colour/jf_colour_navy_100.gif" width="1"><img name="" src="./images/spacer.gif" width="1" height="1" alt=""></td>
              </tr>
            </table>
            <div><img name="" src="./images/spacer.gif" width="720" height="10" alt=""></div></td>
          <td bgcolor="FFFFFF" width="10"><img src="./images/spacer.gif" width="10" height="10" alt=""></td>
          <td background="./images/colour/jf_colour_gold_100.gif" width="1"><img src="./images/spacer.gif" width="1" height="1" alt=""></td>
        </tr>
        
<!--
EOT;
?>-->